////////////////////
// DOM
////////////////////
/**
 * Use the `Browser.dom` API to access special DOM APIs for Extensions
 * @since Chrome 88
 */
export namespace dom {
    /**
     * @since Chrome 88
     * Requests chrome to return the open/closed shadow roots else return null.
     * @param element reference of HTMLElement.
     */
    export function openOrClosedShadowRoot(element: HTMLElement): ShadowRoot | null {
        return Wab.callFunction({ funcName: 'dom.openOrClosedShadowRoot', element })
    }
}